import Vue from 'vue'
import Vuex from 'vuex'

import user from './user'
import labelPage from './label-page'
import theme from './theme'
import role from './role'
import auth from './auth'
import order from './order'
import goodsCate from './goods-cate'
import goods from './goods'
import params from './params'

Vue.use(Vuex)

export default new Vuex.Store({
  modules: {
    user,
    labelPage,
    theme,
    role,
    auth,
    order,
    goodsCate,
    goods,
    params,
  },
})
